package cn.zjutleo.village_server.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author : Qin Zhenghan
 * @date : Created in 2021/8/15
 * @description: 包含token与用户信息的DTO
 */
@Data
@AllArgsConstructor
public class LoginInfoVo {

    /**
     * token令牌
     */
    @ApiModelProperty("token令牌")
    private String token;

    /**
     * 用户信息
     */
    @ApiModelProperty("用户VO")
    private UserVo userVo;
}
